home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global launchnum
- set timer to 0
- set the timeoutMouse to 0
- set the timeoutLength to 80
- startTimer()
- if the visible of sprite 48 = 1 then
- exit
- else
- if the visible of sprite 40 = 0 then
- WARNING()
- exit
- else
- if the castNum of sprite 40 < 119 then
- puppetSound("generic")
- puppetSprite(40, 1)
- set the ink of sprite 40 to 8
- set the castNum of sprite 40 to launchnum + 1
- set the foreColor of sprite 40 to 156
- updateStage()
- wait(5)
- set the foreColor of sprite 40 to 0
- updateStage()
- wait(5)
- set the foreColor of sprite 40 to 163
- updateStage()
- set launchnum to launchnum + 1
- else
- puppetSound("generic")
- updateStage()
- wait(30)
- set the visible of sprite 40 to 0
- end if
- end if
- end if
- set the visible of sprite 41 to 0
- set the visible of sprite 6 to 1
- updateStage()
- puppetSound("away")
- updateStage()
- wait(30)
- puppetSound(0)
- end
-